﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace ABCTile.Models
{
    public class Proposal
    {
        [Required(ErrorMessage = "Proposal ID is required")]
        [Display(Name = "Proposal ID")]
        public int Id { get; set; }
        [Required(ErrorMessage = "Estimate Id is required")]
        public int EstimateId { get; set; }

        public int InsurancePercentage { get; set; }
        public int ProfitPercentage { get; set; }
        public int Benifits { get; set; }
        public int FederalTax { get; set; }
        public int StateTax { get; set; }
        public int SocialSecurity { get; set; }
        public int MasterHourCost { get; set; }
        public int AssistantHourCost { get; set; }
        public int ToolRentalCost { get; set; }
        public decimal ProposalGrandTotal { get; set; }
        public Boolean ProposalStatus { get; set; }

        //public virtual ICollection<EstimateDetail> EstimateDetails { get; set; }
    }
}